package valueobj;

import uk.ac.nott.cs.g53dia.Bee;
import utils.Constants;

public class SimulationSettings {
	private int tick;
	private int beesNum;
	private boolean gui;
	private long randomSeed;
	private int duration;
	private boolean record;
	private Class<? extends Bee> beeClass;

	
	public int getDuration() {
		return duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}

	public long getRandomSeed() {
		return randomSeed;
	}

	public void setRandomSeed(long randomSeed) {
		this.randomSeed = randomSeed;
	}

	public int getTick() {
		return tick;
	}

	public void setTick(int tick) {
		this.tick = tick;
	}

	public int getBeesNum() {
		return beesNum;
	}

	public void setBeesNum(int beesNum) {
		this.beesNum = beesNum;
	}

	public boolean isGui() {
		return gui;
	}

	public void setGui(boolean gui) {
		this.gui = gui;
	}

	public boolean isRecord() {
		return record;
	}

	public void setRecord(boolean record) {
		this.record = record;
	}
  
  public Class<? extends Bee> getBeeClass() {
    if (beeClass == null) {
      beeClass = Constants.DEFAULT_BEE;
    }
    return beeClass;
  }

  public void setBeeClass(Class<? extends Bee> beeClass) {
    this.beeClass = beeClass;
  }
	
}
